﻿using System;

namespace SDLITS.Model
{
    public enum SPActionsRevenue
    {
        Insert,
        Update,
        Delete,
        SelectPaging,
        SelectAll,
        Unique,
        Recharge,
        SelectByDateRange,
        SelectTotalByDateRange,
    }

    public class ModelCardRevenue
    {
        public int PlusDays2Log { get; set; }
        public string MemcardNo { get; set; }

        /// <summary> 
        ///   
        /// </summary> 
        public int CardRevenueID { get; set; }

        /// <summary> 
        ///   
        /// </summary> 
        public decimal InitialAmount { get; set; }

        /// <summary> 
        ///   
        /// </summary> 
        public decimal WorkAmount { get; set; }

        /// <summary> 
        ///   
        /// </summary> 
        public decimal BonusAmount { get; set; }

        /// <summary> 
        ///   
        /// </summary> 
        public decimal PlusAmount { get; set; }

        /// <summary> 
        ///   
        /// </summary> 
        public int PlusDays { get; set; }

        /// <summary> 
        ///   
        /// </summary> 
        public int PlusTimes { get; set; }

        /// <summary> 
        ///   
        /// </summary> 
        public DateTime? StartDate { get; set; }

        /// <summary> 
        ///   
        /// </summary> 
        public DateTime? EndDate { get; set; }

        /// <summary> 
        ///   
        /// </summary> 
        public DateTime? CreateDate { get; set; }

        /// <summary> 
        ///   
        /// </summary> 
        public int MemcardID { get; set; }

        /// <summary> 
        ///   
        /// </summary> 
        public int CreateUserID { get; set; }


        /// <summary>
        /// 读取数据的开始索引
        /// </summary>
        public int StartIndex { get; set; }

        /// <summary>
        /// 读取数据每页的条数
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 存储过程返回值类型
        /// </summary>
        public AppEnum.SPReturnTypes SPReturnType { get; set; }

        /// <summary>
        /// 存储过程动作
        /// </summary>
        public string SPAction { get; set; }
    }
}
